/*
 * @Author: szx
 * @Date: 2021-11-15 11:23:21
 * @LastEditTime: 2021-11-15 11:30:34
 * @Description:
 * @FilePath: \leetcode\300-399\319\319.js
 */
/**
 * @param {number} n
 * @return {number}
 */
var bulbSwitch = function (n) {
    return Math.floor(Math.sqrt(n + 0.5));
};
